package mws;

import com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration;

import lombok.RequiredArgsConstructor;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequiredArgsConstructor
public class AnotherNacos {

    private final NacosAutoServiceRegistration registration;

    @PostMapping("/get-nacos")
    public String getNacos() {
        return "get nacos";
    }

    @PostMapping("/post-nacos")
    public String postNacos() {

        return "post nacos";
    }


}
